# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=slibtool
pkgver=0.5.28
pkgrel=0
pkgdesc="Surrogate libtool implementation written in C"
options="!check" # No testsuite
url="https://git.midipix.org/cgit.cgi/slibtool"
arch="all"
license="MIT"
source="https://midipix.org/dl/slibtool/$pkgname-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="bfd9a39a60203606286af53ba9acc8d06490691cec7edae5ab6978b8547029412881b9895e8e0470c4f70bc9c349fdc6918200aaac810df99cf628e5848c6563  slibtool-0.5.28.tar.xz"
